package com.mystery.mapper;

import com.mystery.pojo.Fitness;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FitnessMapper {

    List<Fitness> search(@Param("fitnessName")String fitnessName);

    List<Fitness> list();

    int add(Fitness fitness);

    Fitness findFitness(@Param("fitnessId")String fitnessId);

    String findFitnessNameById(@Param("id") long id);
}
